# move the old copies up
mv backup/database.sql backup/olddatabase.sql
mv backup/site.tar.gz backup/oldsite.tar.gz

# make the new copies
mysqldump -u nazo -h server.nerdcastle.net -pgnuisnotunix nerdbase > backup/database.sql
tar -cz ../* > backup/site.tar.gz

